package com.lemon.library.common.router;

import android.content.Context;
import com.alibaba.android.arouter.facade.Postcard;
import com.alibaba.android.arouter.launcher.ARouter;
import com.lemon.library.common.ARoutePath;

public class JumpUtils {

    public static final String TAG = "JumpUtils";

    public static void toWeb(Context context, String loadUrl, String title) {
        Postcard postcard = ARouter.getInstance()
                .build(ARoutePath.Web.WebViewActivity)
                .withString(Contanst.webview.Key_Title, title)
                .withString(Contanst.webview.Key_Url, loadUrl);
        postcard.navigation(context);
    }




}
